int HeaderCurve[] = {
	0, 480,
	0, 479,
	1, 478,
	1, 477,
	2, 476,
	2, 475,
	3, 474,
	3, 473,
	4, 472,
	4, 471,
	5, 470,
	6, 469,
	6, 468,
	7, 467,
	7, 466,
	8, 465,
	8, 465,
	9, 464,
	9, 463,
	10, 462,
	11, 461,
	11, 460,
	12, 459,
	12, 458,
	13, 457,
	13, 456,
	14, 455,
	14, 454,
	15, 453,
	15, 452,
	16, 452,
	17, 451,
	17, 450,
	18, 449,
	18, 448,
	19, 447,
	19, 446,
	20, 445,
	20, 444,
	21, 443,
	22, 442,
	22, 441,
	23, 440,
	23, 440,
	24, 439,
	24, 438,
	25, 437,
	26, 436,
	26, 435,
	27, 434,
	27, 433,
	28, 432,
	28, 431,
	29, 430,
	29, 430,
	30, 429,
	31, 428,
	31, 427,
	32, 426,
	32, 425,
	33, 424,
	33, 423,
	34, 422,
	35, 421,
	35, 421,
	36, 420,
	36, 419,
	37, 418,
	37, 417,
	38, 416,
	39, 415,
	39, 414,
	40, 413,
	40, 413,
	41, 412,
	42, 411,
	42, 410,
	43, 409,
	43, 408,
	44, 407,
	44, 406,
	45, 406,
	46, 405,
	46, 404,
	47, 403,
	47, 402,
	48, 401,
	49, 400,
	49, 399,
	50, 399,
	50, 398,
	51, 397,
	52, 396,
	52, 395,
	52, 394,
	52, 394,
	54, 393,
	54, 392,
	55, 391,
	56, 390,
	56, 389,
	57, 389,
	58, 388,
	58, 387,
	58, 386,
	58, 385,
	60, 384,
	61, 384,
	61, 383,
	62, 382,
	62, 381,
	63, 380,
	64, 380,
	64, 379,
	65, 378,
	65, 377,
	66, 376,
	67, 376,
	67, 375,
	68, 374,
	69, 373,
	69, 372,
	70, 372,
	70, 371,
	71, 370,
	72, 369,
	72, 368,
	73, 368,
	74, 367,
	74, 366,
	75, 365,
	76, 365,
	76, 364,
	77, 363,
	78, 362,
	78, 362,
	79, 361,
	79, 360,
	80, 359,
	81, 359,
	81, 358,
	82, 357,
	83, 356,
	83, 356,
	84, 355,
	85, 354,
	85, 354,
	86, 353,
	87, 352,
	87, 351,
	88, 351,
	89, 350,
	89, 349,
	90, 349,
	91, 348,
	91, 347,
	92, 347,
	93, 346,
	93, 345,
	94, 345,
	95, 344,
	96, 343,
	96, 343,
	97, 342,
	98, 341,
	98, 341,
	99, 340,
	100, 339,
	100, 339,
	101, 338,
	102, 337,
	103, 337,
	103, 336,
	104, 335,
	104, 335,
	104, 334,
	105, 334,
	107, 333,
	108, 332,
	108, 332,
	109, 331,
	110, 331,
	110, 330,
	111, 329,
	112, 329,
	113, 328,
	113, 328,
	114, 327,
	115, 326,
	116, 326,
	116, 325,
	116, 325,
	117, 324,
	119, 324,
	119, 323,
	120, 322,
	121, 322,
	122, 321,
	122, 321,
	123, 320,
	124, 320,
	125, 319,
	125, 319,
	126, 318,
	127, 318,
	128, 317,
	128, 317,
	129, 316,
	130, 316,
	131, 315,
	131, 315,
	132, 314,
	133, 314,
	134, 313,
	135, 313,
	135, 312,
	136, 312,
	137, 311,
	138, 311,
	138, 310,
	139, 310,
	140, 309,
	141, 309,
	142, 308,
	142, 308,
	143, 307,
	144, 307,
	145, 306,
	146, 306,
	146, 305,
	147, 305,
	148, 305,
	149, 304,
	150, 304,
	150, 303,
	151, 303,
	152, 302,
	153, 302,
	154, 302,
	155, 301,
	155, 301,
	156, 300,
	157, 300,
	158, 299,
	159, 299,
	159, 299,
	160, 298,
	161, 298,
	162, 297,
	163, 297,
	164, 297,
	164, 296,
	165, 296,
	166, 295,
	167, 295,
	168, 295,
	169, 294,
	169, 294,
	170, 294,
	171, 293,
	172, 293,
	173, 292,
	174, 292,
	174, 292,
	175, 291,
	176, 291,
	177, 291,
	178, 290,
	179, 290,
	180, 290,
	180, 289,
	181, 289,
	182, 289,
	183, 288,
	184, 288,
	185, 288,
	186, 287,
	186, 287,
	187, 287,
	188, 286,
	189, 286,
	190, 286,
	191, 285,
	192, 285,
	193, 285,
	193, 285,
	194, 284,
	195, 284,
	196, 284,
	197, 283,
	198, 283,
	199, 283,
	200, 282,
	200, 282,
	201, 282,
	202, 282,
	203, 281,
	204, 281,
	205, 281,
	206, 281,
	207, 280,
	208, 280,
	208, 280,
	208, 279,
	209, 279,
	210, 279,
	211, 279,
	213, 278,
	214, 278,
	215, 278,
	216, 278,
	217, 277,
	217, 277,
	218, 277,
	219, 277,
	220, 276,
	221, 276,
	222, 276,
	223, 276,
	224, 276,
	225, 275,
	226, 275,
	227, 275,
	227, 275,
	228, 274,
	229, 274,
	230, 274,
	231, 274,
	232, 274,
	233, 273,
	233, 273,
	234, 273,
	235, 273,
	236, 273,
	238, 272,
	239, 272,
	239, 272,
	240, 272,
	241, 272,
	242, 271,
	243, 271,
	244, 271,
	245, 271,
	246, 271,
	247, 270,
	248, 270,
	249, 270,
	250, 270,
	251, 270,
	252, 270,
	253, 269,
	253, 269,
	254, 269,
	255, 269,
	256, 269,
	257, 269,
	258, 268,
	259, 268,
	260, 268,
	261, 268,
	262, 268,
	263, 268,
	264, 268,
	265, 267,
	266, 267,
	267, 267,
	268, 267,
	269, 267,
	270, 267,
	271, 267,
	271, 266,
	272, 266,
	273, 266,
	274, 266,
	275, 266,
	276, 266,
	277, 266,
	278, 266,
	279, 265,
	280, 265,
	281, 265,
	282, 265,
	283, 265,
	284, 265,
	285, 265,
	286, 265,
	287, 265,
	288, 264,
	289, 264,
	290, 264,
	291, 264,
	292, 264,
	293, 264,
	294, 264,
	295, 264,
	296, 264,
	297, 264,
	297, 263,
	298, 263,
	299, 263,
	300, 263,
	301, 263,
	302, 263,
	303, 263,
	304, 263,
	305, 263,
	306, 263,
	307, 263,
	308, 263,
	309, 262,
	310, 262,
	311, 262,
	312, 262,
	313, 262,
	314, 262,
	315, 262,
	316, 262,
	317, 262,
	318, 262,
	319, 262,
	320, 262,
	321, 262,
	322, 262,
	323, 261,
	324, 261,
	325, 261,
	326, 261,
	327, 261,
	328, 261,
	329, 261,
	330, 261,
	331, 261,
	332, 261,
	333, 261,
	334, 261,
	335, 261,
	336, 261,
	337, 261,
	338, 261,
	339, 261,
	340, 261,
	341, 261,
	342, 261,
	343, 260,
	344, 260,
	345, 260,
	346, 260,
	347, 260,
	348, 260,
	349, 260,
	350, 260,
	351, 260,
	352, 260,
	353, 260,
	354, 260,
	355, 260,
	356, 260,
	357, 260,
	358, 260,
	359, 260,
	360, 260,
	361, 260,
	362, 260,
	363, 260,
	364, 260,
	365, 260,
	366, 260,
	367, 260,
	368, 260,
	369, 260,
	370, 260,
	371, 260,
	372, 260,
	373, 260,
	374, 260,
	375, 260,
	376, 260,
	377, 260,
	378, 260,
	379, 260,
	380, 260,
	381, 260,
	382, 260,
	383, 260,
	384, 260,
	385, 260,
	386, 260,
	387, 260,
	388, 260,
	389, 260,
	390, 260,
	391, 260,
	392, 260,
	393, 260,
	394, 260,
	395, 260,
	396, 260,
	397, 260,
	398, 260,
	399, 260,
	400, 259,
	400, 260,
	401, 260,
	402, 260,
	403, 260,
	404, 260,
	405, 260,
	406, 260,
	407, 260,
	408, 260,
	409, 260,
	410, 260,
	411, 260,
	412, 260,
	413, 260,
	414, 260,
	415, 260,
	416, 260,
	417, 260,
	417, 260,
	419, 260,
	419, 260,
	421, 260,
	421, 260,
	423, 260,
	423, 260,
	425, 260,
	426, 260,
	427, 260,
	428, 260,
	429, 260,
	430, 260,
	431, 260,
	432, 260,
	433, 260,
	434, 260,
	435, 260,
	436, 260,
	437, 260,
	438, 260,
	439, 260,
	440, 260,
	441, 260,
	442, 260,
	442, 260,
	444, 260,
	444, 260,
	446, 260,
	446, 260,
	448, 260,
	448, 260,
	450, 260,
	451, 260,
	452, 260,
	453, 260,
	454, 260,
	455, 260,
	456, 260,
	457, 261,
	458, 261,
	459, 261,
	460, 261,
	461, 261,
	462, 261,
	463, 261,
	464, 261,
	465, 261,
	466, 261,
	467, 261,
	467, 261,
	469, 261,
	469, 261,
	471, 261,
	471, 261,
	473, 261,
	473, 261,
	475, 261,
	476, 261,
	477, 262,
	478, 262,
	479, 262,
	480, 262,
	481, 262,
	482, 262,
	483, 262,
	484, 262,
	485, 262,
	486, 262,
	487, 262,
	488, 262,
	489, 262,
	490, 262,
	491, 263,
	492, 263,
	492, 263,
	494, 263,
	494, 263,
	496, 263,
	496, 263,
	498, 263,
	498, 263,
	500, 263,
	501, 263,
	502, 263,
	502, 264,
	503, 264,
	504, 264,
	505, 264,
	506, 264,
	507, 264,
	508, 264,
	509, 264,
	510, 264,
	511, 264,
	512, 265,
	513, 265,
	514, 265,
	515, 265,
	516, 265,
	517, 265,
	518, 265,
	519, 265,
	520, 265,
	521, 266,
	522, 266,
	523, 266,
	524, 266,
	525, 266,
	526, 266,
	527, 266,
	528, 266,
	528, 267,
	529, 267,
	530, 267,
	531, 267,
	532, 267,
	533, 267,
	534, 267,
	535, 268,
	536, 268,
	537, 268,
	538, 268,
	539, 268,
	540, 268,
	541, 268,
	542, 269,
	543, 269,
	544, 269,
	545, 269,
	546, 269,
	546, 269,
	547, 270,
	548, 270,
	549, 270,
	550, 270,
	551, 270,
	552, 270,
	553, 271,
	554, 271,
	555, 271,
	556, 271,
	557, 271,
	558, 272,
	559, 272,
	560, 272,
	560, 272,
	561, 272,
	562, 273,
	563, 273,
	564, 273,
	565, 273,
	566, 273,
	567, 274,
	568, 274,
	569, 274,
	570, 274,
	571, 274,
	572, 275,
	572, 275,
	573, 275,
	574, 275,
	575, 276,
	576, 276,
	577, 276,
	578, 276,
	579, 276,
	580, 277,
	581, 277,
	582, 277,
	582, 277,
	583, 278,
	584, 278,
	585, 278,
	586, 278,
	587, 279,
	588, 279,
	589, 279,
	590, 279,
	591, 280,
	591, 280,
	592, 280,
	593, 281,
	594, 281,
	595, 281,
	596, 281,
	597, 282,
	598, 282,
	599, 282,
	599, 282,
	600, 283,
	601, 283,
	602, 283,
	603, 284,
	604, 284,
	605, 284,
	606, 285,
	606, 285,
	607, 285,
	608, 285,
	609, 286,
	610, 286,
	611, 286,
	612, 287,
	613, 287,
	613, 287,
	614, 288,
	615, 288,
	616, 288,
	617, 289,
	618, 289,
	619, 289,
	619, 290,
	620, 290,
	621, 290,
	622, 291,
	623, 291,
	624, 291,
	625, 292,
	625, 292,
	626, 292,
	627, 293,
	628, 293,
	629, 294,
	630, 294,
	630, 294,
	631, 295,
	632, 295,
	633, 295,
	634, 296,
	635, 296,
	635, 297,
	636, 297,
	637, 297,
	638, 298,
	639, 298,
	640, 299,
	640, 299,
	641, 299,
	642, 300,
	643, 300,
	644, 301,
	644, 301,
	645, 302,
	646, 302,
	647, 302,
	648, 303,
	649, 303,
	649, 304,
	650, 304,
	651, 305,
	652, 305,
	653, 305,
	653, 306,
	654, 306,
	655, 307,
	656, 307,
	657, 308,
	657, 308,
	658, 309,
	659, 309,
	660, 310,
	661, 310,
	661, 311,
	662, 311,
	663, 312,
	664, 312,
	664, 313,
	665, 313,
	666, 314,
	667, 314,
	668, 315,
	668, 315,
	669, 316,
	670, 316,
	671, 317,
	671, 317,
	672, 318,
	673, 318,
	674, 319,
	674, 319,
	675, 320,
	676, 320,
	677, 321,
	677, 321,
	678, 322,
	679, 322,
	680, 323,
	680, 324,
	681, 324,
	682, 325,
	683, 325,
	683, 326,
	684, 326,
	685, 327,
	686, 328,
	686, 328,
	687, 329,
	688, 329,
	689, 330,
	689, 331,
	690, 331,
	691, 332,
	691, 332,
	692, 333,
	693, 334,
	694, 334,
	694, 335,
	695, 335,
	696, 336,
	696, 337,
	697, 337,
	698, 338,
	699, 339,
	699, 339,
	700, 340,
	701, 341,
	701, 341,
	702, 342,
	703, 343,
	703, 343,
	704, 344,
	705, 345,
	706, 345,
	706, 346,
	707, 347,
	708, 347,
	708, 348,
	709, 349,
	710, 349,
	710, 350,
	711, 351,
	712, 351,
	712, 352,
	713, 353,
	714, 354,
	714, 354,
	715, 355,
	716, 356,
	716, 356,
	717, 357,
	718, 358,
	718, 359,
	719, 359,
	720, 360,
	720, 361,
	721, 362,
	721, 362,
	722, 363,
	723, 364,
	723, 365,
	724, 365,
	725, 366,
	725, 367,
	726, 368,
	727, 368,
	727, 369,
	728, 370,
	729, 371,
	729, 372,
	730, 372,
	730, 373,
	731, 374,
	732, 375,
	732, 376,
	733, 376,
	734, 377,
	734, 378,
	735, 379,
	735, 380,
	736, 380,
	737, 381,
	737, 382,
	738, 383,
	738, 384,
	739, 384,
	740, 385,
	740, 386,
	741, 387,
	741, 388,
	742, 389,
	743, 389,
	743, 390,
	744, 391,
	745, 392,
	745, 393,
	746, 394,
	746, 394,
	747, 395,
	747, 396,
	748, 397,
	749, 398,
	749, 399,
	750, 399,
	750, 400,
	751, 401,
	752, 402,
	752, 403,
	753, 404,
	753, 405,
	754, 406,
	755, 406,
	755, 407,
	756, 408,
	756, 409,
	757, 410,
	757, 411,
	758, 412,
	759, 413,
	759, 413,
	760, 414,
	760, 415,
	761, 416,
	762, 417,
	762, 418,
	763, 419,
	763, 420,
	764, 421,
	764, 421,
	765, 422,
	766, 423,
	766, 424,
	767, 425,
	767, 426,
	768, 427,
	768, 428,
	769, 429,
	770, 430,
	770, 430,
	771, 431,
	771, 432,
	772, 433,
	772, 434,
	773, 435,
	773, 436,
	774, 437,
	775, 438,
	775, 439,
	776, 440,
	776, 440,
	777, 441,
	777, 442,
	778, 443,
	779, 444,
	779, 445,
	780, 446,
	780, 447,
	781, 448,
	781, 449,
	782, 450,
	782, 451,
	783, 452,
	784, 452,
	784, 453,
	785, 454,
	785, 455,
	786, 456,
	786, 457,
	787, 458,
	787, 459,
	788, 460,
	788, 461,
	789, 462,
	790, 463,
	790, 464,
	791, 465,
	791, 465,
	792, 466,
	792, 467,
	793, 468,
	793, 469,
	794, 470,
	795, 471,
	795, 472,
	796, 473,
	796, 474,
	797, 475,
	797, 476,
	798, 477,
	798, 478,
	799, 479,
};
